/** @type {import('tailwindcss').Config} */
export default {
  content: ['./index.html', './src/**/*.{js,jsx,ts,tsx}', './components/**/*.{js,jsx,ts,tsx}'],
  theme: {
    container: {
      center: true,
      padding: '1rem',
    },
    extend: {
      colors: {
        primary: {
          light: 'var(--bg-light)',
          dark: 'var(--bg-dark)',
        },
      },
    },
  },
  plugins: [],
  // 动态添加的类名,不生效的问题
  safelist: [
    {
      pattern: /bg-gradient-.+|from-.+|to-.+|via-.+/,
    },
  ],
}
